<template>
    <div class="contion">
        aaa
    </div>
</template>

<script setup>
import { h, onMounted, ref } from 'vue';
import { useRouter } from 'vue-router';
import http from '../http';
import { ElMessage } from 'element-plus';
const router = useRouter();

let detalist = ref([]);

const order = localStorage.getItem('order');
const getdeta = () => {
    http.get(`/deta/?order=order`).then(res => {
        console.log(res.data);
        detalist.value = res.data
    })
}

onMounted(() => {
    getdeta()
})
</script>

<style scoped>
.contion{
    display: flex;
    flex-direction: column;
    justify-content: center;
    vertical-align: middle;
}
</style>